package com.ruoyi.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产变动对象 bz_fa_vouchers_detail
 *
 * @author ztj
 * @date 2023-04-18
 */
public class BzFaVouchersDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String iOptType;

    /** 卡片标识 */
    @Excel(name = "卡片标识")
    private Integer sCardID;

    /** 卡片编号 */
    @Excel(name = "卡片编号")
    private String sCardNum;

    /** 资产编码 */
    @Excel(name = "资产编码")
    private String sAssetNum;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String sAssetName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String sStyle;

    /** 存放地点 */
    @Excel(name = "存放地点")
    private String sSiteAfter;

    /** 变动前 */
    @Excel(name = "变动前")
    private String sBeforeVoucher;

    /** 变动后 */
    @Excel(name = "变动后")
    private String sAfterVoucher;

    /** 变动原因 */
    @Excel(name = "变动原因")
    private String sReason;

    /** 录入人 */
    @Excel(name = "录入人")
    private String sOperator;

    /** 变动日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变动日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dTransDate;

    /** 是否同步 */
    @Excel(name = "是否同步")
    private Integer isPush;
    private String billCode;
    private String iVoucherType;

    public String getiVoucherType() {
        return iVoucherType;
    }

    public void setiVoucherType(String iVoucherType) {
        this.iVoucherType = iVoucherType;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setiOptType(String iOptType)
    {
        this.iOptType = iOptType;
    }

    public String getiOptType()
    {
        return iOptType;
    }
    public void setsCardID(Integer sCardID)
    {
        this.sCardID = sCardID;
    }

    public Integer getsCardID()
    {
        return sCardID;
    }
    public void setsCardNum(String sCardNum)
    {
        this.sCardNum = sCardNum;
    }

    public String getsCardNum()
    {
        return sCardNum;
    }
    public void setsAssetNum(String sAssetNum)
    {
        this.sAssetNum = sAssetNum;
    }

    public String getsAssetNum()
    {
        return sAssetNum;
    }
    public void setsAssetName(String sAssetName)
    {
        this.sAssetName = sAssetName;
    }

    public String getsAssetName()
    {
        return sAssetName;
    }
    public void setsStyle(String sStyle)
    {
        this.sStyle = sStyle;
    }

    public String getsStyle()
    {
        return sStyle;
    }
    public void setsSiteAfter(String sSiteAfter)
    {
        this.sSiteAfter = sSiteAfter;
    }

    public String getsSiteAfter()
    {
        return sSiteAfter;
    }
    public void setsBeforeVoucher(String sBeforeVoucher)
    {
        this.sBeforeVoucher = sBeforeVoucher;
    }

    public String getsBeforeVoucher()
    {
        return sBeforeVoucher;
    }
    public void setsAfterVoucher(String sAfterVoucher)
    {
        this.sAfterVoucher = sAfterVoucher;
    }

    public String getsAfterVoucher()
    {
        return sAfterVoucher;
    }
    public void setsReason(String sReason)
    {
        this.sReason = sReason;
    }

    public String getsReason()
    {
        return sReason;
    }
    public void setsOperator(String sOperator)
    {
        this.sOperator = sOperator;
    }

    public String getsOperator()
    {
        return sOperator;
    }
    public void setdTransDate(Date dTransDate)
    {
        this.dTransDate = dTransDate;
    }

    public Date getdTransDate()
    {
        return dTransDate;
    }
    public void setIsPush(Integer isPush)
    {
        this.isPush = isPush;
    }

    public Integer getIsPush()
    {
        return isPush;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("iOptType", getiOptType())
                .append("sCardID", getsCardID())
                .append("sCardNum", getsCardNum())
                .append("sAssetNum", getsAssetNum())
                .append("sAssetName", getsAssetName())
                .append("sStyle", getsStyle())
                .append("sSiteAfter", getsSiteAfter())
                .append("sBeforeVoucher", getsBeforeVoucher())
                .append("sAfterVoucher", getsAfterVoucher())
                .append("sReason", getsReason())
                .append("sOperator", getsOperator())
                .append("dTransDate", getdTransDate())
                .append("isPush", getIsPush())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
